package com.cwh.mapper;

import java.util.List;

import com.cwh.entity.SysPermission;
import com.cwh.entity.TreeMenu;



public interface SysPermissionCustomMapper {

	//根据parentid=1查找sys_permission表的name,id ，返回值TreeMenu
	public List<TreeMenu> getTreeMenu();
	
	//根据parentid查找sys_permission表的所有信息，返回值 SysPermission
	public List<SysPermission> getSubMenu(int id);
}
